#include<stdio.h>
int main(){
    char c;
    while(~scanf("%c",&c)){
        if(c=='Z')
            printf("a");
        else if('A'<=c&&c<'Z')
            printf("%c",c+33);
        else if('a'<=c&&c<='z')
        {
            if('a'<=c&&c<='c') printf("2");
            if('d'<=c&&c<='f') printf("3");
            if('g'<=c&&c<='i') printf("4");
            if('j'<=c&&c<='l') printf("5");
            if('m'<=c&&c<='o') printf("6");
            if('p'<=c&&c<='s') printf("7");
            if('t'<=c&&c<='v') printf("8");
            if('w'<=c&&c<='z') printf("9");
        }
        else printf("%c",c);
    } printf("\n");
}
